package com.se.xb.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

@Data
public class Article {

  private Long id;
  private String title;
  private String content;
  private Long browseCount;
  @JSONField(format = "yyyy-MM-dd HH:mm:ss") // 指定日期时间格式
  private Date publishDate;
  private String publishRealName;
  private Long userId;

}
